package com.china08.yxyapi.entity.mg.huodong.healthcompetition;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.mg.MongoBaseEntityNoId;

/**
 * 中小学健康知识答题.
 */
@SuppressWarnings("serial")
@Document(collection = "yxy.huodong.competition.district")
public class YxyCompetitionDistrict extends MongoBaseEntityNoId {

    @Id
    private String id;

    // @Column(columnDefinition = "varchar(32) comment '参与学生总数' ", nullable =
    // false)
    @Field(value = "total")
    private Integer total;
    // @Column(columnDefinition = "varchar(255) comment '平均分' ", nullable =
    // false)
    @Field(value = "avg")
    private Double avg;
    // @Column
    @Field(value = "area_code_province")
    private String areaCodeProvince;
    // @Column
    @Field(value = "area_name_province")
    private String areaNameProvince;
    // @Column
    @Field(value = "area_code_city")
    private String areaCodeCity;
    // @Column
    @Field(value = "area_name_city")
    private String areaNameCity;
    // @Column
    @Field(value = "area_code_district")
    private String areaCodeDistrict;
    // @Column
    @Field(value = "area_name_district")
    private String areaNameDistrict;

    /**
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     *            the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return the total
     */
    public Integer getTotal() {
        return total;
    }

    /**
     * @param total
     *            the total to set
     */
    public void setTotal(Integer total) {
        this.total = total;
    }

    /**
     * @return the avg
     */
    public Double getAvg() {
        return avg;
    }

    /**
     * @param avg
     *            the avg to set
     */
    public void setAvg(Double avg) {
        this.avg = avg;
    }

    /**
     * @return the areaCodeProvince
     */
    public String getAreaCodeProvince() {
        return areaCodeProvince;
    }

    /**
     * @param areaCodeProvince
     *            the areaCodeProvince to set
     */
    public void setAreaCodeProvince(String areaCodeProvince) {
        this.areaCodeProvince = areaCodeProvince;
    }

    /**
     * @return the areaNameProvince
     */
    public String getAreaNameProvince() {
        return areaNameProvince;
    }

    /**
     * @param areaNameProvince
     *            the areaNameProvince to set
     */
    public void setAreaNameProvince(String areaNameProvince) {
        this.areaNameProvince = areaNameProvince;
    }

    /**
     * @return the areaCodeCity
     */
    public String getAreaCodeCity() {
        return areaCodeCity;
    }

    /**
     * @param areaCodeCity
     *            the areaCodeCity to set
     */
    public void setAreaCodeCity(String areaCodeCity) {
        this.areaCodeCity = areaCodeCity;
    }

    /**
     * @return the areaNameCity
     */
    public String getAreaNameCity() {
        return areaNameCity;
    }

    /**
     * @param areaNameCity
     *            the areaNameCity to set
     */
    public void setAreaNameCity(String areaNameCity) {
        this.areaNameCity = areaNameCity;
    }

    /**
     * @return the areaCodeDistrict
     */
    public String getAreaCodeDistrict() {
        return areaCodeDistrict;
    }

    /**
     * @param areaCodeDistrict
     *            the areaCodeDistrict to set
     */
    public void setAreaCodeDistrict(String areaCodeDistrict) {
        this.areaCodeDistrict = areaCodeDistrict;
    }

    /**
     * @return the areaNameDistrict
     */
    public String getAreaNameDistrict() {
        return areaNameDistrict;
    }

    /**
     * @param areaNameDistrict
     *            the areaNameDistrict to set
     */
    public void setAreaNameDistrict(String areaNameDistrict) {
        this.areaNameDistrict = areaNameDistrict;
    }

}
